package com.hang.model.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ModuleModelDTO {
    @ApiModelProperty(value = "模块id")
    private Long moduleId;

    @NotBlank
    @ApiModelProperty(value = "模块名称",required = true)
    private String moduleName;

    @NotNull
    @ApiModelProperty(value = "项目id",required = true)
    private Long itemId;

    @NotBlank
    @ApiModelProperty(value = "项目名称",required = true)
    private String itemName;

    @ApiModelProperty(value = "模块url地址")
    private String moduleUrl;

    @NotNull
    @ApiModelProperty(value = "模块类型",required = true)
    private Integer moduleType;

    @NotBlank
    @ApiModelProperty(value = "模块创建人姓名",required = true)
    private String createBy;
}
